<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" />
</head>
<body>
<form class="layui-form" style="width:80%;">
    <!-- 报价单id -->
    <input type="hidden" name="basicId" value="${(basic.id)!}">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">客户名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName"
                   lay-verify="required"
                   value="${(basic.customerName)!}" readonly
                   placeholder="请输入客户公司名称">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">产品名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="productName"
                   placeholder="请输入产品名称" readonly value="${(basic.productName)!}">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">地址</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="productName"
                   placeholder="请输入产品名称" readonly value="${(basic.customerAddress)!}">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">单价￥</label>
        <div class="layui-input-block">
            <input type="number" class="layui-input" lay-verify="required" name="productUnitPrice"
                   placeholder="单位(万元)" readonly value="${(basic.productUnitPrice)!}">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">数量</label>
        <div class="layui-input-block">
            <input type="number" class="layui-input" lay-verify="required" name="productCount"
                   value="${(basic.productCount)!number}">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">交付日期</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="deliveryDate" name="deliveryDate"
                   value="${(basic.deliveryDate?string('yyyy-MM-dd'))!}" readonly>
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">规格要求</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input"
                   value="${(basic.description)!}" readonly>
        </div>
    </div>
    <hr/>
    <div class="layui-form-item">
        <label class="layui-form-label">审批意见</label>
        <div class="layui-input-block">
            <input type="radio" name="projectApprovalResults" value="0" title="同意" checked="">
            <input type="radio" name="projectApprovalResults" value="1" title="不同意">
        </div>
    </div>


    <div class="layui-form-item layui-row">
        <label class="layui-form-label">描述</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入服务内容" name="projectDescribe" class="layui-textarea"></textarea>
        </div>
    </div>

    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="addProjectFilter" id="addProject">确认
            </button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" type="reset" id="resetBtn">重置</button>
        </div>
    </div>
</form>
<script src="${ctx}/layuimini/js/sale/approve.js" charset="UTF-8"></script>
</body>


</html>

